package com.mrent.util;

import java.io.InputStream;
import java.util.Properties;

public class ConfigHelper {

	private static Properties prop = new Properties();

	
	public static String getPropertyValue(String key){
		try {
			Class clazz = Class.forName("com.mrent.util.ConfigHelper");
			InputStream is = clazz.getResourceAsStream("/config.properties");
			prop.load(is);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return prop.getProperty(key);
	}

}
